Post

Replies

Boosts

Views

Activity

Reply to Adding SCNScene to SwiftPM project
Oops 😅 ! I've got it, and for anyone who's working hitting their heads on the same: Dragging and dropping the scn file into the project directory in the sidebar of Xcode will automatically create a Resources folder with the scene. You can then initialize the scene as an SCNScene as SCNScene(named: "scene.scn")
Apr ’22
Reply to WWDC 2020 swift student challenge
As said, Conditions for applying are given here: https://developer.apple.com/wwdc21/swift-student-challenge/ Applying: Build your Swift playground, answer a few written prompts, provide documentation, and submit.To be eligible for the Challenge, you must:Be 13 years of age or older, or the equivalent minimum age in the relevant jurisdiction (for example, 16 years of age in the European Union);Be registered for free with Apple as an Apple developer or be a member of the Apple Developer Program; andFulfill one of the following requirements:Be enrolled in an accredited academic institution or official homeschool equivalent;Be enrolled in a STEM organization’s educational curriculum;Be enrolled in an Apple Developer Academy; orHave graduated from high school or equivalent within the past 6 months and be awaiting acceptance or have received acceptance to an accredited academic institution. See last condition: or Have graduated from high school or equivalent within the past 6 months and be awaiting acceptance or have received acceptance to an accredited academic institution. So, july 2020 graduation does not match, but I do hope you could enroll as you might been enrolled in an accredited academic institution and above 13
Topic: Programming Languages SubTopic: Swift Tags:
Apr ’21
Reply to How to add another playground page
How did you create your playground, was it by clicking on the new playground in the swift playground app or did you create it using the playground template ! If you created the playground by clicking on the new playground in the swift playground app then you cant add pages. You have created a playground and only one page can exist but if you want to have multiple pages, then you would need to create a playgroundbook which you can by downloading the swift author playground template found at https://developer.apple.com/downloads and then compiling the book and editing its contents to match your requirement or just add your playground pages to its chapters Hope it helped! 😀
Apr ’21
Reply to Use Playground Author Template?
If you wanted to create a playgroundbook with multiple pages then you would need to go for the template and it isnt quite complex, you could perhaps compare the folder structure and files and code in a playground book and playground to learn quickly how it works. You would need to compile the playground book with xcode without changing anycode if you wish and then modify its contents manually or by using swift playgrounds! 😀 All the best!
Apr ’21
Reply to PlaygroundBook Submission on Mac
What you are referring to, is a PlaygroundBook with documentation in the left side of the screen and PlaygroundView on the right, but as per the rules of this year's Swift Student Challenge, we must build a Swift Playground application not a Swift PlaygroundBook. Hope it helps 😊
Replies
Boosts
Views
Activity
Apr ’22
Reply to Adding SCNScene to SwiftPM project
Oops 😅 ! I've got it, and for anyone who's working hitting their heads on the same: Dragging and dropping the scn file into the project directory in the sidebar of Xcode will automatically create a Resources folder with the scene. You can then initialize the scene as an SCNScene as SCNScene(named: "scene.scn")
Replies
Boosts
Views
Activity
Apr ’22
Reply to WWDC 2020 swift student challenge
As said, Conditions for applying are given here: https://developer.apple.com/wwdc21/swift-student-challenge/ Applying: Build your Swift playground, answer a few written prompts, provide documentation, and submit.To be eligible for the Challenge, you must:Be 13 years of age or older, or the equivalent minimum age in the relevant jurisdiction (for example, 16 years of age in the European Union);Be registered for free with Apple as an Apple developer or be a member of the Apple Developer Program; andFulfill one of the following requirements:Be enrolled in an accredited academic institution or official homeschool equivalent;Be enrolled in a STEM organization’s educational curriculum;Be enrolled in an Apple Developer Academy; orHave graduated from high school or equivalent within the past 6 months and be awaiting acceptance or have received acceptance to an accredited academic institution. See last condition: or Have graduated from high school or equivalent within the past 6 months and be awaiting acceptance or have received acceptance to an accredited academic institution. So, july 2020 graduation does not match, but I do hope you could enroll as you might been enrolled in an accredited academic institution and above 13
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’21
Reply to Can I use Swift Playgrounds Mac application to apply Swift Student Challenge?
Surely! Your Swift playground must be built with and run on Swift Playgrounds 3.4.1 on iPadOS 14.4.2, Swift Playgrounds 3.4.1 on macOS 11.2.3, or Xcode 12.4 on macOS 11.2.3.
Replies
Boosts
Views
Activity
Apr ’21
Reply to When will we receive the swift student challenge jackets?
Congrats to you too! I received it about 4-5months back!
Replies
Boosts
Views
Activity
Apr ’21
Reply to Swift Playground show hidden-code and other tags, unable to open Playground
Maybe you could try to look in the usermodules folder in the edits folder or try looking in the contents folder instead of the edits folder! Hope you find your code! If my above suggestion helped please upvote it 😀😀
Replies
Boosts
Views
Activity
Apr ’21
Reply to How to add another playground page
How did you create your playground, was it by clicking on the new playground in the swift playground app or did you create it using the playground template ! If you created the playground by clicking on the new playground in the swift playground app then you cant add pages. You have created a playground and only one page can exist but if you want to have multiple pages, then you would need to create a playgroundbook which you can by downloading the swift author playground template found at https://developer.apple.com/downloads and then compiling the book and editing its contents to match your requirement or just add your playground pages to its chapters Hope it helped! 😀
Replies
Boosts
Views
Activity
Apr ’21
Reply to Swift Playground show hidden-code and other tags, unable to open Playground
As said earlier, you could edit the source swift file by navigating to it on the mac by right clicking on your playground and selected 'Show Package Contents' and do the same for the UserEdits.diffpack in Edits folder inside the playground where all the code you have written in the swift playground apps!
Replies
Boosts
Views
Activity
Apr ’21
Reply to Use Playground Author Template?
If you wanted to create a playgroundbook with multiple pages then you would need to go for the template and it isnt quite complex, you could perhaps compare the folder structure and files and code in a playground book and playground to learn quickly how it works. You would need to compile the playground book with xcode without changing anycode if you wish and then modify its contents manually or by using swift playgrounds! 😀 All the best!
Replies
Boosts
Views
Activity
Apr ’21
Reply to Submitting a Playground that works on both iPad and Mac… is that possible?
While filling in the form during application you would need to pick one of the following : 1. Swift Playgrounds 3.4.1 on iPadOS 14.4.2 2. Swift Playgrounds 3.4.1 on macOS 11.2.3 3. Xcode 12.4 on macOS 11.2.3. So you could choose your selection there! 😀
Replies
Boosts
Views
Activity
Apr ’21
Reply to Submission format and type: .playground or .playgroundbook
Yah you can create a playgroundbook or playground for submission! If you wanted to create a playground book then you can take help from the Apple Playground Author Template found at the developer downloads section or if you wanted to create a playground then you can create it either from swift playground in mac or ipad or xcode! Just have fun 😀! All the best!
Replies
Boosts
Views
Activity
Apr ’21
Reply to Enabling Results in Swift Playgrounds causes app to crash
I guess you can disable results by modifying the manifest.plist with PlaygroundLoggingMode to Off. I don't know if it is accepted, could you anyone clarify if it is allowed to disable results with the above tag by default?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’21